package com.kafka.demo.common;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author gy
 * @date 2018/11/3 17:46
 */

@Data
@EqualsAndHashCode
public class MessageEntity {

    private String title;
    private String body;

    @Override

    public String toString() {

        return "MessageEntity{" +

                "title='" + title + '\'' +

                ", body='" + body + '\'' +

                '}';

    }

}
